package cn.jsu.oj.dispatchServer.satellite.handler.patrol.hard;

import java.io.Serializable;

/**
 * cpu基本信息
 *
 * @author shan
 * @date 2022/07/04
 */
public class CpuBase implements Serializable {
    
    private Integer mHz;
    private String vendor;
    private String model;
    private Long cache;

    public CpuBase() {
    }

    public CpuBase(Integer mHz, String vendor, String model, Long cache) {
        this.mHz = mHz;
        this.vendor = vendor;
        this.model = model;
        this.cache = cache;
    }

    public Integer getmHz() {
        return mHz;
    }

    public void setmHz(Integer mHz) {
        this.mHz = mHz;
    }

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Long getCache() {
        return cache;
    }

    public void setCache(Long cache) {
        this.cache = cache;
    }

    @Override
    public String toString() {
        return "CpuBase{" +
                "mHz=" + mHz +
                ", vendor='" + vendor + '\'' +
                ", model='" + model + '\'' +
                ", cache=" + cache +
                '}';
    }
}
